﻿#include "functionrunnable.h"

FunctionRunnable::FunctionRunnable(std::function<void()> fun) :
    QRunnable(),
    m_fun(fun)
{

}

void FunctionRunnable::run()
{
    m_fun();
}
